
#设置工程根目录
set(ROOT_DIR ${PROJECT_SOURCE_DIR})

set(CMAKE_C_FLAGS "-fPIC")    #设置编译选项

#添加包含的头文件路径
include_directories( 
	"frameworks/liteipc_linux/include"
	"frameworks/liteipc/include"
	"interfaces/kits"
	"${ROOT_DIR}/third_party/bounds_checking_function/include"	
)


#设置源代码文件列表
set(SOURCE_LIST 
	"frameworks/liteipc/src/serializer.c"
	"frameworks/liteipc/src/liteipc_adapter.c"
)


add_library(ipc_lite STATIC ${SOURCE_LIST})


